<script>
	export default {

		onLaunch: function() {


			if (uni.getStorageSync('vuex_tabbar') == 2) {
				uni.setTabBarItem({
					"index": 0,
					"text": '案场统计'
				})
			} else {
				uni.setTabBarItem({
					"index": 0,
					"text": "待办"
				})

			}


		},
		onShow: function() {

			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		},
		onPageNotFound: function() {
			console.log('App Page Not Found')
		},
		onError(err) {
			console.log(err) // 捕获 app error

		}
	}
</script>
<style>
	@import "./static/iconfont/iconfont.css";
</style>
<style lang="scss">
	page {
		background-color: #ededed;
	}

	@import "uview-ui/index.scss";
</style>
